package cn.ztuo.bitrade.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @Description  
 * @Author  Hunter
 * @Date 2020-03-16
 * @Description 风险额度
 */

@Data
@Entity
@Table ( name ="contract_platform" )
public class ContractPlatform implements Serializable {

	private static final long serialVersionUID =  3056849678682016455L;
    @Id
   	@Column(name = "id" )
	private Long id;

	/**
	 * 平台账户
	 */
   	@Column(name = "amount" )
	private BigDecimal amount;

	/**
	 * 保险基金
	 */
   	@Column(name = "insurance" )
	private BigDecimal insurance;

	/**
	 * 创建时间
	 */
   	@Column(name = "create_time" )
	private Date createTime;

	/**
	 * 修改时间
	 */
   	@Column(name = "update_time" )
	private Date updateTime;
	/**
	 * 状态
	 */
   	@Column(name = "status" )
	private  Integer status;

}
